Bump FluentAssertions from 6.4.0 to 7.2.0 #2233
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Updated FluentAssertions from 6.4.0 to 7.2.0.
Release notes
Sourced from FluentAssertions's releases.
7.2.0
What's Changed
Improvements
Fixes
Others
Full Changelog: fluentassertions/fluentassertions@7.1.0...7.2.0
7.1.0
What's Changed
Improvements
Others
Full Changelog: fluentassertions/fluentassertions@7.0.0...7.1.0
7.0.0
What's Changed
Breaking Changes
Fixes
Documentation
Others
System.Configuration.ConfigurationManagerandSystem.Threading.Tasks.Extensionsby @jnyrup in Backport bump ofSystem.Configuration.ConfigurationManagerandSystem.Threading.Tasks.Extensionsfluentassertions/fluentassertions#2856New Contributors
Full Changelog: fluentassertions/fluentassertions@6.12.2...7.0.0
6.12.2
What's Changed
Others
Full Changelog: fluentassertions/fluentassertions@6.12.1...6.12.2
6.12.1
What's Changed
Improvements
BeEmpty()andBeNullOrEmpty()performance forIEnumerable<T>, by materializing only the first item - #2530Fixes
DateTimeOffsetwithBeWithin(...).Before(...)- #2312BeEquivalentTowill now find and can map subject properties that are implemented through an explicitly-implemented interface - #2152becauseandbecauseArgswere not passed down the equivalency tree - #2318BeEquivalentTocan again compare a non-genericIDictionarywith a generic one - #2358FormattingOptionswere not respected in innerAssertionScope- #2329trueandfalsein failure messages and make them formattable to a customBooleanFormatter- #2390, #2393NotBeOfTypewhen wrapped in anAssertionScopeand the subject is null - #2399BeWritable/BeReadablewhen wrapped in anAssertionScopeand the subject is read-only/write-only - #2399ThrowExactly[Async]when wrapped in anAssertionScopeand no exception is thrown - #2398[Not]HaveExplicitPropertywhen wrapped in anAssertionScopeand not implementing the interface - #2403[Not]HaveExplicitMethodwhen wrapped in anAssertionScopeand not implementing the interface - #2403BeEquivalentToto excludeprivate protectedmembers from the comparison - #2417BeEquivalentToon an emptyArraySegment- #2445, #2511BeEquivalentTowith a custom comparer can now handle null values - #2489AssertionScope(context)create a chained context - #2607AssertionScopeconstructor would not create an actual scope associated with the thread - #2607ThrowWithinAsyncnot respectingOperationCanceledException- #2614BeEquivalentTowith anIEqualityComparertargeting nullable types - #2648Full Changelog: fluentassertions/fluentassertions@6.12.0...6.12.1
6.12.0
What's Changed
New features
Be,NotBeandBeOneOffor object comparisons with custom comparer by @jnyrup in AddedBe,NotBeandBeOneOffor object comparisons with custom comparer fluentassertions/fluentassertions#2243AssemblyAssertionswithHavePublicKeyandBeUnsignedby @Corniel in ExtendAssemblyAssertionswithHavePublicKeyandBeUnsignedfluentassertions/fluentassertions#2207NotContainItemsAssignableToby @Leo506 in AddNotContainItemsAssignableTofluentassertions/fluentassertions#2266Improvements
Fixes
Documentation
ExcludingNestedObjectsby @dennisdoomen in Improve documentation onExcludingNestedObjectsfluentassertions/fluentassertions#2211HaveElement()occurrence docs by @IT-VBFK in Add missingHaveElement()occurrence docs fluentassertions/fluentassertions#2217IComparer<T>overload by @ITaluone in Add documentation forIComparer<T>overload fluentassertions/fluentassertions#2220Others
GenericDictionaryEquivalencyStepby @jnyrup in SimplifyGenericDictionaryEquivalencyStepfluentassertions/fluentassertions#2191New Contributors
... (truncated)
6.11.0
What's Changed
New features
ThrowWithinAsyncassertions by @lg2de in AddedThrowWithinAsyncassertions fluentassertions/fluentassertions#1974WithoutStrictOrderingForoverload with an expression by @chrischu in AddWithoutStrictOrderingForoverload with an expression fluentassertions/fluentassertions#2151Improvements
ToStringto format exceptions by @sdelarosbil in UseToStringto format exceptions fluentassertions/fluentassertions#2150Fixes
AssertionScopeby @jnyrup in Increase robustness of assertions when wrapped in anAssertionScopefluentassertions/fluentassertions#2133NullReferenceExceptionby @jnyrup in PreventNullReferenceExceptionfluentassertions/fluentassertions#2154Excluding()work on nested collections if root is a collection by @whymatter in MakeExcluding()work on nested collections if root is a collection fluentassertions/fluentassertions#2135InvalidOperationExceptionwhen formatting lambda expression by @jnyrup in PreventInvalidOperationExceptionwhen formatting lambda expression fluentassertions/fluentassertions#2176Documentation
Others
binlogfile by @IT-VBFK in Add optional parameter to generate abinlogfile fluentassertions/fluentassertions#2127Taskwhen inside using block by @jnyrup in awaitTaskwhen inside using block fluentassertions/fluentassertions#2157DataRowCollectionEquivalencycode coverage by @sdelarosbil in Improve theDataRowCollectionEquivalencycode coverage fluentassertions/fluentassertions#2163... (truncated)
6.10.0
What's Changed
Fixes
System.Net.Httpas a framework dependency by @AArnott in DeclareSystem.Net.Httpas a framework dependency fluentassertions/fluentassertions#2122BeEquivalentTohandles fields hiding base-class fields by @dennisdoomen in Improves howBeEquivalentTohandles fields hiding base-class fields fluentassertions/fluentassertions#1990WithResultextension by @lg2de in Fix timeout check inWithResultextension fluentassertions/fluentassertions#2101AssertionScopeby @jnyrup in Avoid exceptions when wrapping inAssertionScopefluentassertions/fluentassertions#2103Others
lcov.infodoes exist by @ITaluone in Check iflcov.infodoes exist fluentassertions/fluentassertions#2097Build.csby @IT-VBFK in Clean upBuild.csfluentassertions/fluentassertions#2093ReportSummaryby @IT-VBFK in Add fancyReportSummaryfluentassertions/fluentassertions#2116int.Seconds(TimeSpan)by @IT-VBFK in Add missing tests forint.Seconds(TimeSpan)fluentassertions/fluentassertions#2119DocumentationChangesby @IT-VBFK in Declare few more files asDocumentationChangesfluentassertions/fluentassertions#2100New Contributors
System.Net.Httpas a framework dependency fluentassertions/fluentassertions#2122Full Changelog: fluentassertions/fluentassertions@6.9.0...6.10.0
6.9.0
What's Changed
New features
BeOneOfforIComparables and object comparisons. by @jez9999 in AddedBeOneOfforIComparables and object comparisons. fluentassertions/fluentassertions#2028BeCloseTo()/NotBeCloseTo()to TimeOnlyAssertions by @IT-VBFK in AddBeCloseTo()/NotBeCloseTo()to TimeOnlyAssertions fluentassertions/fluentassertions#2030ThatAre[Not]Abstract,ThatAre[Not]StaticandThatAre[Not]VirtualtoPropertyInfoSelectorby @94sedighi in AddThatAre[Not]Abstract,ThatAre[Not]StaticandThatAre[Not]VirtualtoPropertyInfoSelectorfluentassertions/fluentassertions#2054ThatAre[Not]AbstracttoMethodInfoSelectorby @94sedighi in AddThatAre[Not]AbstracttoMethodInfoSelectorfluentassertions/fluentassertions#2060ThatAre[Not]AbstracttoTypeSelectorby @94sedighi in AddThatAre[Not]AbstracttoTypeSelectorfluentassertions/fluentassertions#2058ThatAre[Not]SealedtoTypeSelector.csby @94sedighi in AddThatAre[Not]SealedtoTypeSelector.csfluentassertions/fluentassertions#2059ThatAre[Not]InterfacestoTypeSelector.csby @94sedighi in AddThatAre[Not]InterfacestoTypeSelector.csfluentassertions/fluentassertions#2057OccurrenceConstraintthat reads more fluently by @IT-VBFK in Add extensions forOccurrenceConstraintthat reads more fluently fluentassertions/fluentassertions#2047Imply()toBooleanAssertionsby @IT-VBFK in AddImply()toBooleanAssertionsfluentassertions/fluentassertions#2074ThatAre[Not]ValueTypesmethod toTypeSelector.csby @94sedighi in AddThatAre[Not]ValueTypesmethod toTypeSelector.csfluentassertions/fluentassertions#2083Improvements
IsTuple()by @jnyrup in Improve performance ofIsTuple()fluentassertions/fluentassertions#2079IsRecord()by @jnyrup in OptimizeIsRecord()fluentassertions/fluentassertions#2080Fixes
AssertionScopes do not print inner scope reportables by @94sedighi in NestedAssertionScopes do not print inner scope reportables fluentassertions/fluentassertions#2044ThatArePublicOrInternalto also look at the setter of properties by @Ruijin92 in ExtendThatArePublicOrInternalto also look at the setter of properties fluentassertions/fluentassertions#2082Documentation
PathMapis currently not supported by @jnyrup in Document thatPathMapis currently not supported fluentassertions/fluentassertions#2067Guardhelper by @jnyrup in ImproveGuardhelper fluentassertions/fluentassertions#2076cSpellto NUKE build pipeline by @IT-VBFK in AddcSpellto NUKE build pipeline fluentassertions/fluentassertions#2086Others
EquatableOfIntimplementIComparable<T>by @jnyrup in LetEquatableOfIntimplementIComparable<T>fluentassertions/fluentassertions#2036... (truncated)
6.8.0
What's Changed
New features
ContainInConsecutiveOrderandNotContainInConsecutiveOrderby @StacyCash in Extend collection assertions withContainInConsecutiveOrderandNotContainInConsecutiveOrderfluentassertions/fluentassertions#1963NotCompleteWithinAsyncfor Task assertions by @lg2de in AddedNotCompleteWithinAsyncfor Task assertions fluentassertions/fluentassertions#1967TaskCompletionSourceby @lg2de in Added assertions for non-genericTaskCompletionSourcefluentassertions/fluentassertions#1961IMonitorobject to extensions methods. by @A-Kjeldgaard in Exposes theIMonitorobject to extensions methods. fluentassertions/fluentassertions#2010Improvements
BeEquivalentToby @jnyrup in OptimizeBeEquivalentTofluentassertions/fluentassertions#1939ContainInOrderby @jnyrup in Avoid allocating sub-arrays inContainInOrderfluentassertions/fluentassertions#1960IObjectInfowith info aboutDeclaringTypeby @dennisdoomen in ExtendIObjectInfowith info aboutDeclaringTypefluentassertions/fluentassertions#1950AsyncFunctionAssertionsto make them protected in V7 by @lg2de in Prepare constructors ofAsyncFunctionAssertionsto make them protected in V7 fluentassertions/fluentassertions#1972Fixes
Documentation
WithArgsby @jnyrup in More specifically clarify the intentions ofWithArgsfluentassertions/fluentassertions#1929Enum.BeOneOfto the docs by @jnyrup in AddEnum.BeOneOfto the docs fluentassertions/fluentassertions#1958ModuleInitializerby @jnyrup in Document how to useModuleInitializerfluentassertions/fluentassertions#1966EquivalencyValidatorby @Wolgo in Update summary ofEquivalencyValidatorfluentassertions/fluentassertions#1991Equalsusage by @nycdotnet in Improve error messages for accidentalEqualsusage fluentassertions/fluentassertions#2006Others
ReadOnlyNonGenericCollectionWrapperby @logiclrd in Make it possible for third-party libraries to access the underlying collection of instances ofReadOnlyNonGenericCollectionWrapperfluentassertions/fluentassertions#1968CollectionMemberObjectInfoby @dennisdoomen in Improve coverage forCollectionMemberObjectInfofluentassertions/fluentassertions#1983ShouldCompareMembersThisDeeptoShouldCompareNodesThisDeepby @Wolgo in RenameShouldCompareMembersThisDeeptoShouldCompareNodesThisDeepfluentassertions/fluentassertions#1992New Contributors
ContainInConsecutiveOrderandNotContainInConsecutiveOrderfluentassertions/fluentassertions#1963... (truncated)
6.7.0
What's Changed
New features
BeDefinedandNotBeDefinedtoEnumAssertionsby @IT-VBFK in AddBeDefinedandNotBeDefinedtoEnumAssertionsfluentassertions/fluentassertions#1888System.Databy @logiclrd in Restore basic assertions for collections inSystem.Datafluentassertions/fluentassertions#1812For/Excludeto allow exclusion of members inside a collection by @whymatter in AddFor/Excludeto allow exclusion of members inside a collection fluentassertions/fluentassertions#1782HaveElement()to be able to assert on occurrences forXDocumentandXElementby @ITaluone in Add overload toHaveElement()to be able to assert on occurrences forXDocumentandXElementfluentassertions/fluentassertions#1880Fixes
Tto the matching events, if one is found by @ITaluone in Do not add all arguments of typeTto the matching events, if one is found fluentassertions/fluentassertions#1920Documentation
BeInRangeby @andrewlock in Update docxml comments on BeInRange fluentassertions/fluentassertions#1907Others
AssertionScopeby @IT-VBFK in Fix small typo inAssertionScopefluentassertions/fluentassertions#1890nullwith a wildcard by @IT-VBFK in Add missing tests for matchingnullwith a wildcard fluentassertions/fluentassertions#1889nullcheck tests in Data*Specs by @IT-VBFK in Add missingnullcheck tests in Data*Specs fluentassertions/fluentassertions#1899New Contributors
For/Excludeto allow exclusion of members inside a collection fluentassertions/fluentassertions#1782Full Changelog: fluentassertions/fluentassertions@6.6.0...6.7.0
6.6.0
What's Changed
New features
DateOnlystruct by @iliashkolyar in Adding support for .NET6DateOnlystruct fluentassertions/fluentassertions#1844TimeOnlystruct by @iliashkolyar in Adding support for .NET6TimeOnlystruct fluentassertions/fluentassertions#1848NullableBooleanAssertionsbyNotBe()by @mu88 in ExtendNullableBooleanAssertionsbyNotBe()fluentassertions/fluentassertions#1865MatchRegex()to assert on the number of regex matches by @IT-VBFK in Added a new overload toMatchRegex()to assert on the number of regex matches fluentassertions/fluentassertions#1869Improvements
[Not]MatchRegexwith[StringSyntax("Regex")]by @jnyrup in Annotated[Not]MatchRegexwith[StringSyntax("Regex")]fluentassertions/fluentassertions#1816EnumAssertions.Beby @jnyrup in Determine caller name forEnumAssertions.Befluentassertions/fluentassertions#1835Fixes
ExcludingMissingMembersdoesn't undo usage ofWithMappingby @dennisdoomen in EnsureExcludingMissingMembersdoesn't undo usage ofWithMappingfluentassertions/fluentassertions#1838WithMappingnow works in equivalency assertions on collections by @dennisdoomen inWithMappingnow works in equivalency assertions on collections fluentassertions/fluentassertions#1858Documentation
ComparingRecordsByMembersby @kijanawoodard in Fix typo in comment forComparingRecordsByMembersfluentassertions/fluentassertions#1809AllItemsAreInstancesOfTypeby @IT-VBFK in Update migration tip on how to replaceAllItemsAreInstancesOfTypefluentassertions/fluentassertions#1873Others
NullableDateOnlyAssertionsby @jnyrup in Rename constructor parameter forNullableDateOnlyAssertionsfluentassertions/fluentassertions#1846A_NaN_is_never_in_range_of_two_doubleswas exercisingfloats by @jnyrup inA_NaN_is_never_in_range_of_two_doubleswas exercisingfloats fluentassertions/fluentassertions#1852StringAssertionSpecsfile by @eNeRGy164 in SplitStringAssertionSpecsfile fluentassertions/fluentassertions#1855OccurrenceConstraintby @eNeRGy164 in Add test coverage forOccurrenceConstraintfluentassertions/fluentassertions#1856New Contributors
ComparingRecordsByMembersfluentassertions/fluentassertions#1809MatchRegex()to assert on the number of regex matches fluentassertions/fluentassertions#1869Full Changelog: fluentassertions/fluentassertions@6.5.1...6.6.0
6.5.1
What's Changed
Full Changelog: fluentassertions/fluentassertions@6.5.0...6.5.1
Public release notes: https://fluentassertions.com/releases/#651
6.5.0
What's Changed
BeLowerCasedandBeUpperCasedfor mixed strings by @dennisdoomen in Improved docs on BeLowerCased and BeUpperCased for mixed strings fluentassertions/fluentassertions#1792HaveAccessModifierassertion by @dennisdoomen in Properly recognized non-class types as internal when using HaveAccessModifier assertion fluentassertions/fluentassertions#1793newby @dennisdoomen in Caller identification does not handle all arguments usingnewfluentassertions/fluentassertions#1794AllSatisfyby @kmusick in Added SatisfyAll fluentassertions/fluentassertions#1790AssertionScopes by @dennisdoomen in Fix and improve tracing for nested AssertionScopes fluentassertions/fluentassertions#1797New Contributors
Full Changelog: fluentassertions/fluentassertions@6.4.0...6.5.0
Commits viewable in compare view.
You can trigger a rebase of this PR by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)